/* ============================================================
   EVENTS & BANNER STYLESHEET (events.css)
   ============================================================ */

/* ------------------------------------------------------------
   1. BANNER & MODAL WEERGAVE (banner.php)
   ------------------------------------------------------------ */
.site-event-banner-wrapper {
    max-width: 1400px;
    margin: 0 auto 35px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.site-event-banner-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 4;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--doof-blue, #00d2ff);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.35);
    background-color: #0b0c10;
    transition: all 0.3s ease;
}

.site-event-banner-card:hover {
    border-color: var(--doof-pink, #ff007a);
    box-shadow: 0 0 25px rgba(255, 0, 122, 0.6);
    transform: translateY(-3px);
}

.banner-img-16-4 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.site-event-banner-card:hover .banner-img-16-4 {
    transform: scale(1.02);
}

/* Linksboven Datum & Tijd Badge */
.banner-time-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(15, 15, 19, 0.88);
    border: 1px solid var(--doof-blue, #00d2ff);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    z-index: 5;
    font-family: Arial, sans-serif;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

/* Info Modal Styling */
.event-info-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.event-info-modal-content {
    background: #14171d;
    margin: 40px auto;
    border: 1px solid #2d3440;
    border-radius: 10px;
    max-width: 720px;
    width: 90%;
    color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    font-family: Arial, sans-serif;
    animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.event-modal-top-bar {
    position: relative;
}

.event-img-16-9 {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid var(--doof-pink, #ff007a);
}

.event-close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 26px;
    font-weight: bold;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.2s;
    z-index: 10;
}

.event-close-btn:hover {
    background: #e53935;
    border-color: #e53935;
}

.event-modal-body {
    padding: 24px;
    text-align: center;
}

.event-modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    font-family: 'Futured', Arial, sans-serif;
}

.event-modal-time {
    font-size: 14px;
    color: #00e5ff;
    font-weight: 600;
    margin-bottom: 18px;
    background: rgba(0, 229, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
}

.event-modal-desc {
    font-size: 15px;
    color: #c4c9d4;
    line-height: 1.6;
    margin: 0 auto 20px auto;
    white-space: pre-line;
    text-align: left;
}

.event-sponsors-box {
    margin: 20px 0;
    border-top: 1px solid #232833;
    padding-top: 15px;
}

.event-sponsors-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffb703;
    font-weight: 700;
    margin-bottom: 12px;
}

.event-sponsors-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.sponsor-item-tag {
    background: #1f2530;
    border: 1px solid rgba(255, 183, 3, 0.3);
    color: #f1f1f1;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.event-modal-socials {
    border-top: 1px solid #232833;
    padding-top: 18px;
    margin-top: 20px;
}

.event-modal-socials-title {
    font-size: 12px;
    text-transform: uppercase;
    color: #8c93a3;
    margin-bottom: 12px;
}

.event-modal-social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.modal-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    transition: 0.2s;
}
.modal-social-btn.twitch { background: #9146FF; }
.modal-social-btn.youtube { background: #FF0000; }
.modal-social-btn.kick { background: #53FC18; color: #000; }
.modal-social-btn:hover { opacity: 0.85; transform: translateY(-2px); }

@media (max-width: 768px) {
    .banner-time-badge {
        top: 10px;
        left: 10px;
        font-size: 11px;
        padding: 5px 10px;
    }
    .site-event-banner-card {
        aspect-ratio: 16 / 6;
    }
}

/* ------------------------------------------------------------
   2. BEHEERPANEEL & FORMULIER (events.php)
   ------------------------------------------------------------ */
.events-dashboard {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 0, 122, 0.3);
    padding-bottom: 15px;
}

.dashboard-header h1 {
    color: var(--doof-pink);
    margin: 0;
    font-size: 26px;
    text-transform: uppercase;
    font-family: 'Futured', Arial, sans-serif;
}

.events-table-wrapper {
    background: #15181d;
    border: 1px solid #2a2f38;
    border-radius: 8px;
    overflow-x: auto;
}

table.events-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    color: #fff;
}

table.events-table th {
    background: #1d222b;
    padding: 14px 16px;
    border-bottom: 2px solid #2e3644;
    font-size: 13px;
    text-transform: uppercase;
    color: #8c93a3;
}

table.events-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #232933;
    vertical-align: middle;
    font-size: 14px;
}

table.events-table tr:hover {
    background: rgba(255,255,255,0.02);
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-active { background: rgba(0, 200, 83, 0.2); color: #00e676; border: 1px solid #00e676; }
.status-inactive { background: rgba(255, 171, 0, 0.2); color: #ffab00; border: 1px solid #ffab00; }
.status-expired { background: rgba(229, 57, 53, 0.2); color: #ff5252; border: 1px solid #ff5252; }

.action-btn {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-right: 5px;
}

.btn-toggle { background: #263238; color: #eceff1; border: 1px solid #455a64; }
.btn-toggle:hover { background: #37474f; }
.btn-delete { background: rgba(229, 57, 53, 0.2); color: #ff5252; border: 1px solid #ff5252; }
.btn-delete:hover { background: #e53935; color: #fff; }

/* Modal Formulier in events.php */
.event-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    overflow-y: auto;
}

.event-modal-content {
    background: #1a1e24;
    margin: 40px auto;
    padding: 25px;
    border: 1px solid #333c48;
    border-radius: 8px;
    max-width: 580px;
    width: 90%;
    color: #fff;
}

.event-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2a313b;
    padding-bottom: 12px;
    margin-bottom: 18px;
}

.event-modal-header h3 { margin: 0; font-size: 20px; }
.close-modal { font-size: 26px; font-weight: bold; color: #aaa; cursor: pointer; }
.close-modal:hover { color: #fff; }

.event-form-group { margin-bottom: 14px; text-align: left; }
.event-form-group label { display: block; margin-bottom: 5px; font-size: 13px; color: #adb5bd; font-weight: 600; }
.event-form-group input, .event-form-group textarea {
    width: 100%;
    padding: 9px 11px;
    background: #252b34;
    border: 1px solid #3d4653;
    border-radius: 5px;
    color: #fff;
    box-sizing: border-box;
    font-size: 14px;
}

.event-form-row { display: flex; gap: 12px; }
.event-form-row .event-form-group { flex: 1; }
.sponsor-input-row { display: flex; gap: 8px; margin-bottom: 8px; }

.btn-add-sponsor-field, .btn-remove-sponsor {
    width: 38px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: white;
}

.btn-add-sponsor-field { background: #2196f3; }
.btn-remove-sponsor { background: #e53935; }

.btn-submit-event {
    background: #00c853;
    border: none;
    color: #fff;
    padding: 12px;
    font-weight: bold;
    border-radius: 5px;
    font-size: 15px;
    width: 100%;
    cursor: pointer;
    margin-top: 10px;
}
.btn-submit-event:hover { background: #00b046; }